﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Super.Entities
{
    /// <summary>
    /// 配置实体
    /// 邮件设置,发邮件设置
    /// </summary>
    /// <author>BangQ 2011-11-1</author>
    public class SettingInfo
    {
        private string _smtpemail = "dazao@dazao.com";
        private string _smtpserver = "smtp.exmail.qq.com";
        private int _smtpserverpost = 25;
        private string _smtpusername = "dazao@dazao.com";
        private string _smtppassword = "dazao!";
        private int _smtpenablessl = 1;
        private string _hotkeyword = "";
        private bool _topicCheck = false;

        /// <summary>
        /// 帖子审核
        /// </summary>
        public bool TopicCheck
        {
            set { _topicCheck = value; }
            get { return _topicCheck; }
        }

        /// <summary>
        /// 设置热门搜索
        /// </summary>
        public string HotKeyWord
        {
            set { _hotkeyword = value; }
            get { return _hotkeyword; }
        }


        #region 邮件设置
        /// <summary>
        /// 邮箱
        /// </summary>
        public string SmtpEmail
        {
            set { _smtpemail = value; }
            get { return _smtpemail; }
        }

        /// <summary>
        /// 服务器
        /// </summary>
        public string SmtpServer
        {
            set { _smtpserver = value; }
            get { return _smtpserver; }
        }
        /// <summary>
        /// 端口
        /// </summary>
        public int SmtpServerPost
        {
            set { _smtpserverpost = value; }
            get { return _smtpserverpost; }
        }
        /// <summary>
        /// 帐号
        /// </summary>
        public string SmtpUserName
        {
            set { _smtpusername = value; }
            get { return _smtpusername; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string SmtpPassword
        {
            set { _smtppassword = value; }
            get { return _smtppassword; }
        }
        /// <summary>
        /// 是否启用SSL
        /// </summary>
        public int SmtpEnableSsl
        {
            set { _smtpenablessl = value; }
            get { return _smtpenablessl; }
        }
        #endregion




     
    }
}
